package com.sunshine.spring.aop.advice.throwsexception;

/**
 * @Author: WeiHong
 * @Date: 2017/3/23 15:20
 */
public class Customer {

    private String name;

    private String add;

    public void setName(String name) {
        this.name = name;
    }

    public void setAdd(String add) {
        this.add = add;
    }

    public void printName(){
        System.out.println("Custoemr name :" + this.name);
    }

    public void printAdd(){
        System.out.println("Customer name :" + this.add);
    }

    public void throwExcetpiion(){
        throw new IllegalArgumentException();
    }


}
